Development and Astrophysical Applications of a Parallel Smoothed Particle Hydrodynamics Code with MPI
نویسندگان
چکیده
Smoothed Particle Hydrodynamics SPH is a particle method to sim ulate compressible uids First we present a brief introduction to SPH where we focus on an approach to treat the physical viscosity Then we describe in detail the basic principles of our parallel implementation of the SPH method The e ciency of the code on Cray T E and IBM SP is discussed In the last part we present a short introduction to accretion disks in interacting binary stars and report on some new results in that eld achieved with our code Smoothed Particle Hydrodynamics Smoothed Particle Hydrodynamics SPH is a grid free Lagrangian method for solving the hydrodynamic equations numerically It was introduced in by Gingold Monaghan and by Lucy The method is especially suited for compressible ows involving free boundaries a commonplace sit uation in astrophysics In SPH the matter distribution is divided into small overlapping mass packets so called particles which do not exchange matter The particles move in space following the motion of the uid while interacting with their neighbor particles Basic Principles The system of hydrodynamic equations i e the Navier Stokes equation the equation of continuity and the energy equation together with an equation of state form a system of coupled partial di erential equations Applying the SPH formalism these are transformed into a set of ordinary di erential equa tions ODEs in two steps These ODEs are subsequently integrated numer ically using standard methods First the eld quantities f r are smoothed i e they are replaced by the convolution f r Z f r W jr r j h dV Stefan Kunze Erik Schnetter and Roland Speith with a di erentiable kernel W which is normalized to unity The smoothing length h is a measure of the compact support of the kernel function leading to f r Z f r W jr r j h dV O h A common choice for the kernel is a cubic spline see e g Monaghan In the second step the above integrals are evaluated at the particle posi tions ri and are approximated by sums fi f ri X j Vjf rj W jri rj j h The quantity Vj describes the volume that is represented by the particle j Spatial derivatives of eld quantities at the particle positions can be approx imated by rif ri X j Vjf rj riW jri rj j h Typical particle quantities are the position ri the velocity vi the particle mass mi Vi i where i is the mass density the internal energy ei etc SPH Representation of the Hydrodynamic Equations The particles follow the motion of the uid dri dt vi and do not exchange matter dmi dt Therefore the continuity equation is automatically satis ed With the abbreviationWij W jri rj j h the particle density i can be calculated from i X
منابع مشابه
Development and Astrophysical Applications of a Parallel Smoothed Particle Hydrodynamics Code with Mpi 1.1 Basic Principles
Smoothed Particle Hydrodynamics (SPH) is a particle method to simulate compressible uids. First we present a brief introduction to SPH, where we focus on an approach to treat the physical viscosity. Then we describe in detail the basic principles of our parallel implementation of the SPH method. The eeciency of the code on Cray T3E and IBM SP2 is discussed. In the last part we present a short i...
متن کاملParallel SPH on CrayT 3 E and NECSX - 4 using DTS ?
In this paper we report on the results of a joint eeort of astrophysicists and computer scientists to develop and implement a parallel program that enables us to solve large systems of hydrodynamic equations and covers a wide range of applications in astrophysics. We introduce the Distributed Threads System (DTS) as an environment for the development of portable parallel applications. The numer...
متن کاملGRADSPH: A parallel smoothed particle hydrodynamics code for self-gravitating astrophysical fluid dynamics
Article history: Received 15 November 2007 Received in revised form 14 November 2008 Accepted 23 December 2008 Available online 8 January 2009 PACS: 95.30.Lz 97.10.Bt 04.40.-b
متن کاملCode Optimization and Scaling of the Astrophysics Software Gadget on Intel Xeon Phi
The whitepaper reports our investigation into the porting, optimization and subsequent performance of the astrophysics software package GADGET, on the Intel Xeon Phi. The GADGET code is intended for cosmological N-body/SPH simulations to solve a wide range of astrophysical tasks. The test cases within the project were simulations of galaxy systems. A performance analysis of the code was carried...
متن کاملHYDRA-MPI: An Adaptive Particle-Particle, Particle-Mesh code for conducting Cosmological Simulations on MPP Architectures
We discuss the design and implementation of a parallel adaptive PM code, for massively parallel architectures. The code, although primarily designed for conducting gravitational simulations in a cosmological context, also includes a Smoothed Particle Hydrodynamics solver. The code is written in a combination of C, FORTRAN 77 and FORTRAN 90. The MPI-2 remote memory access standard is used for on...
متن کامل